﻿@{
    Layout = null;
}

<div class="header_bg">
    <div class="block clearfix">
        <h1>
            <a href="http://www.guoshuhui.com" name="top" title="果蔬汇 果蔬汇 果蔬汇">果蔬汇 果蔬汇</a>
        </h1>
        <div style="float:left; padding:10px 0 0 20px;">
            <a class="logo_r2" href="#" target="_blank" title="果蔬汇第一站"> </a>
        </div>
        <div style="float:left">
            <script type="text/javascript">
                $(function () {
                    $("#btn").click(function () {
                        var words = $("#txt_keywords").val();
                        var len = $("#txt_keywords").val().length;
                        if ($.trim(words) == "" || $.trim(words) == "请输入要查询的关键字") {
                            alert("请输入搜索关键词！");
                            return false;
                        }
                        else {
                            document.searchForm.action = '/Search/Index?keyword=' + encodeURIComponent(words) + "&page=1";
                            document.searchForm.submit();
                        }
                    });
                });

            </script>
            <form id="searchForm" name="searchForm" method="post">
                <div class="search_box">
                    <input name="txt_keywords" type="text" id="txt_keywords" class="B_input" value="请输入要查询的关键字" onblur="if (this.value == '') { this.value = '请输入要查询的关键字' }" onfocus=" this.value='' " />
                </div>
                <input type="button" id="btn" name="btn" value="" class="go" style="cursor:pointer;" />
            </form>
            <div class="search_no">
                <a href="/download/" target="_blank" title="把果蔬汇装进口袋">果蔬汇app</a>
            </div>
        </div>
        <div class="suggestions_box" id="suggestions" style="display:none;">
            <div class="suggestions_list" id="auto_suggestions_list"></div>
        </div>
    </div>
</div>